package com.sy.olddriver.service;

import com.sy.olddriver.dto.CartInfo;
import com.sy.olddriver.entity.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface CartService {
    void addCart(HttpServletRequest req, HttpServletResponse res);

    void mergeCart(HttpServletRequest req, HttpServletResponse res, User user);

    CartInfo getCartInfo(HttpServletRequest req, HttpServletResponse res);

    void changeNum(HttpServletRequest req, HttpServletResponse res);
}
